From de19fa4bb3353ef7ca1aaf86cf78f16845f58f26 Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Wed, 13 Aug 2014 16:41:36 +0200 Subject: [PATCH] Adwaita: path-bar home button spacing --- gtk/resources/theme/Adwaita/_common.scss | 7 +++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 10 ++++++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 10 ++++++++++ 3 files changed, 27 insertions(+) diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss index bef48649fb..ec505cf179 100644 --- a/gtk/resources/theme/Adwaita/_common.scss +++ b/gtk/resources/theme/Adwaita/_common.scss @@ -959,6 +959,13 @@ GtkComboBox { } } +// the followind is for spacing the icon and the label inside the home button +.path-bar .button GtkLabel:last-child { padding-left: 2px; } +.path-bar .button GtkLabel:first-child { padding-right: 2px; } +.path-bar .button GtkLabel:only-child { padding-right: 0; padding-left: 0; } + + + /************** * Tree Views * **************/ diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css b/gtk/resources/theme/Adwaita/gtk-contained-dark.css index 44f93c37ef..f5151aa5d0 100644 --- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css @@ -1090,6 +1090,16 @@ GtkComboBox { padding-left: 12px; padding-right: 12px; } +.path-bar .button GtkLabel:last-child { + padding-left: 2px; } + +.path-bar .button GtkLabel:first-child { + padding-right: 2px; } + +.path-bar .button GtkLabel:only-child { + padding-right: 0; + padding-left: 0; } + /************** * Tree Views * **************/ diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css index 84e31a069f..72d116bf28 100644 --- a/gtk/resources/theme/Adwaita/gtk-contained.css +++ b/gtk/resources/theme/Adwaita/gtk-contained.css @@ -1082,6 +1082,16 @@ GtkComboBox { padding-left: 12px; padding-right: 12px; } +.path-bar .button GtkLabel:last-child { + padding-left: 2px; } + +.path-bar .button GtkLabel:first-child { + padding-right: 2px; } + +.path-bar .button GtkLabel:only-child { + padding-right: 0; + padding-left: 0; } + /************** * Tree Views * **************/ -- 2.30.2